package cn.tedu.egweibo0416.mapper;

import cn.tedu.egweibo0416.pojo.entity.Weibo;
import cn.tedu.egweibo0416.pojo.vo.WeiboDetailVO;
import cn.tedu.egweibo0416.pojo.vo.WeiboVO;
import org.hibernate.validator.constraints.Range;

import java.util.List;

public interface WeiboMapper {
    int insertWeibo(Weibo weibo);

    List<WeiboVO> selectWeibo();

    WeiboDetailVO selectWeiboById(Long id);
}
